package com.smartfactory.sail.constant.header;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.smartfactory.sail.entity.enums.OrderItemTypeEnum;
import com.smartfactory.sail.entity.enums.OrderModelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

@Getter
public enum OrderEnum implements HeaderBase {

    STAFFNO("staffNo", "序号"),
    REALLYNAME("reallyName", "员工姓名"),
    PHONE("phone", "联系方式"),
    DEPTNAME("deptName", "所属部门"),
    POSTNAME("postName", "职务"),
    SEX("sex", ""),
    HIREDATE("workingYears", "工龄"),
    STATUS("attendanceType", "状态");
    //ID("id","id");
    /*USERNAME("username","用户名");
    PHONEMAC("phonemac","");
    AGE("age","");
    IDCARD("idcard","");
    BANK("bank","");
    OPENBANK("openBank","");
    IDCARDURL("idcardUrl","");
    IDCARDBACKURL("idcardBackUrl","");
    IMG("img","");
    COMPANY("company","");
    SALARY("salary","");
    HEADICON("headIcon","");
    GRADUATESCHOOL("graduateSchool","");
    EDUCATIONAL("educational","");
    ANNUALLEAVE("annualLeave","");
    LEADER("leader","");
    RANK("rank","");
    WORKTYPE("workType","");
    EMAIL("email","");
            CREATEUSER("createUser","");
            CREATETIME("createTime","");
            LASTIP("lastIp","");
            LASTTIME("lastTime","");
            UPDATEUSER("updateUser","");
            UPDATETIME("updateTime","");*/

    private Long id;
    private String orderCode;
    private Integer custId;
    private String createTime;
    private String deliveryDate;
    private Long contractId;
    private OrderItemTypeEnum orderType;

    private OrderModelEnum orderModelEnum;
    private Integer status;
    private Integer underOrderId;
    private String createUser;
    private String updateUser;
    private String updateTime;


    private String key;
    private String value;

    OrderEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }
}
